.TH std::geometric_distribution::p 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::geometric_distribution::p \- std::geometric_distribution::p

.SH Synopsis
   double p() const;  \fI(since C++11)\fP

   Returns the p distribution parameter the distribution was constructed with. The
   parameter defines the probability of a trial generating true. The default value is
   0.5.

.SH Parameters

   \fI(none)\fP

.SH Return value

   Floating point value identifying the p distribution parameter.

.SH See also

   param   gets or sets the distribution parameter object
   \fI(C++11)\fP \fI(public member function)\fP
